package com.面向对象练习2;

public class Client {
    public static void main(String[] args) {
        Game game1=new DNF();
        Game game2=new LOL();
        Game game3=new CS();

        Player player1=new Player();
        player1.happly(game1);
        player1.happly(game2);
        player1.happly(game3);
    }
}
